package com.woniu.venue.service;

import com.github.pagehelper.PageInfo;
import com.woniu.venue.dto.coachEnter.CoachEnterDto;
import com.woniu.venue.model.CoachEnter;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.venue.param.coachEnter.CreatCoachEnterParam;
import com.woniu.venue.param.coachEnter.LoadCoachEnterForCoachParam;
import com.woniu.venue.param.coachEnter.LoadCoachEnterParam;
import com.woniu.venue.param.coachEnter.RefuseCoachEnterParam;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 杜岷芫
 * @since 2024年07月12日
 */
public interface CoachEnterService extends IService<CoachEnter> {

    CoachEnterDto creat(CreatCoachEnterParam toBean);

    void agree(Integer id);

    void refuse(RefuseCoachEnterParam param);

    void cancel(Integer id);

    PageInfo<CoachEnterDto> load(LoadCoachEnterParam toBean);

    PageInfo<CoachEnterDto> findCoachEnterByCoachId(LoadCoachEnterForCoachParam toBean);
}
